package io.renren.modules.news.service;

import io.renren.modules.news.entity.OpenAdvertEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author wxy
 * @email sharonwang_xy@163.com
 * @date 2018-10-16 01:01:30
 */
public interface OpenAdvertService {
	
	OpenAdvertEntity queryObject(Integer id);
	
	List<OpenAdvertEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(OpenAdvertEntity openAdvert);
	
	void update(OpenAdvertEntity openAdvert);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
}
